﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace N03_11HCA_HTTTHD.Models
{
    public class Kho_DanhSachChaoBan
    {
        
        public Kho_DanhSachChaoBan(List<Data_DAO_DTO_Lib.DTO.DTO> list)
        {
            setListTimMuaDTO(list);
        }

        void setListTimMuaDTO(List<Data_DAO_DTO_Lib.DTO.DTO> l)
        {
            listTimMua = new List<Data_DAO_DTO_Lib.DTO.THONGTINCANBAN_DTO>();

            for (int i = 0; i < l.Count; i++)
            {
                listTimMua.Add((Data_DAO_DTO_Lib.DTO.THONGTINCANBAN_DTO)l[i]);
            }
        }
        private List<Data_DAO_DTO_Lib.DTO.THONGTINCANBAN_DTO> listTimMua;
        public List<Data_DAO_DTO_Lib.DTO.THONGTINCANBAN_DTO> ListChaoBan
        {
            get
            {
                return listTimMua;
            }
            set
            {
                listTimMua = value;
            }
        }
    }

}